package mapper;


import org.apache.ibatis.annotations.Param;
import pojo.Comment;

import java.util.List;

public interface CommentMapper {
    //添加评论
    int insertComment(Comment comment);
    //显示评论
    List<Comment> selectComment(@Param("blogId") String blogId);
    List<Comment> selectAllComment();
    int delete(int commentid);

    List<Comment> getcommentbybeuserid(String userid);


}
